package com.guit.hrms.dto.interview;

import jakarta.validation.constraints.Future;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDate;

@Data
public class ApprovalOfferDTO {
    @NotNull(message = "offer的id不能为空")
    private Integer id;
    @Future(message = "试用期开始时间不能早于当前时间")
    private LocalDate tryoutStartTime;
    @Future(message = "试用期结束时间不能早于当前时间")
    private LocalDate tryoutEndTime;
    private String tryoutDuration;
    @NotNull(message = "审批状态不能为空")
    private Integer status;
    private MultipartFile offerFile;
}
